//
//  ViewController.m
//  诗词鉴赏
//
//  Created by Steven on 2019/7/22.
//  Copyright © 2019 Steven. All rights reserved.
//

#import "ViewController.h"
#import "FMDB.h"
#import "AppCenter.h"
#import "ListVC.h"
#import "Shici.h"

#import "DBManager.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [[DBManager sharedManager] insertGoods:nil];
    
}


- (IBAction)btnTapped:(UIButton *)sender {
    ListVC *vc = [self.storyboard instantiateViewControllerWithIdentifier:@"ListVC"];
    vc.data = appData.homeDatas[sender.tag];
    [self.navigationController pushViewController:vc animated:YES];
}

@end
